package edu.sctu.practice.class02.xuejiahua.test18;

/**
 * Created by Administrator on 2015/10/29.
 */
public class Auto {
    public int tire;
    public String color;
    public int weight;
    public double speed;

    public Auto(int tire, int weight, String color, double speed) {
        this.tire = tire;
        this.weight = weight;
        this.color = color;
        this.speed = speed;
    }


    public void accelerate(){

    }
    public void decelerate(){

    }
    public void stop(){
        System.out.println("the car wloud stop");
    }
}
